package com.example.sample.logic.fsm;

import com.example.sample.logic.fsm.base.FSMEvt;
import com.example.sample.logic.fsm.base.FSMManager;
import com.example.sample.logic.fsm.base.FSMState;

import java.util.ArrayList;
import java.util.List;

public class TestFSMManager extends FSMManager {

    @Override
    public List<FSMState> getStateList() {
        List<FSMState> list = new ArrayList<>();
        list.add(new FSMStateNormal());
        list.add(new FSMStateNoSay());
        return list;
    }

    @Override
    public List<FSMEvt> getEvtList() {
        List<FSMEvt> list = new ArrayList<>();
        list.add(new FSMEvtRestoreToNormal());
        list.add(new FSMEvtMsg(""));
        return list;
    }
}
